package com.briup.bms.service;

import java.util.List;
import java.util.Set;

import com.briup.bms.bean.Region;
import com.briup.bms.common.utils.Page;
import com.github.pagehelper.PageInfo;

public interface IRegionService {
	void deleteById(Long id);
	void deleteByBatch(Set<Long> ids);
	void save(Region region);
	void modify(Region region);
	void saveOrUpdate(Region region);
	List<Region> findByCondition(int pageNum, int pageSize, String name);
	Page<Region> findByPageAndCondition(int pageNum, int pageSize, String name);
	PageInfo<Region> findByPageHelper(int pageNum, int pageSize, String name);
	List<Region> findAll();
}
